package day0524;
//int(21亿到-21亿)  double  char  boolean   String
public class Q1 {

    public static void main(String[] args) {
        int i1=1;










        int i2=Integer.MAX_VALUE;
        System.out.println(i2);//显示i2变量中存储的int最大值
        System.out.println(i1);

                
        int i3=Integer.MIN_VALUE;
        System.out.println(i3);//-2147483648


        double d1=3.0;
        double d2=2.9;
        System.out.println(d1-d2);
        //double不能精确表示1/10


        char  c1='a';
        char  c2='分';
        char  c3='9';
        char  c4='?';
        char  c5=0b01100001;//'a' //0b表示01100001数是二进制数据
        System.out.println(c5);

        char  c6=97;
        System.out.println(c6);

        char  c7=20998;
        System.out.println(c7);

        char  c8=0b0101001000000110;
        System.out.println(c8);



        //boolean数据类型  数据  true  false
        //boolean类型只能用true和false两个数值
        boolean   b1=true;
        boolean   b2=false;
        boolean   b3= 5>3;
        boolean   b4= !false;
        System.out.println(b1 +","+ b2+"," + b3+","  + b4);

        boolean   b5=c7<21000;
        System.out.println(b5);

        boolean   b6=  (c7==21000);
        System.out.println(b6);

        boolean  b7=   (0<=c7 && c7<=50000);
        System.out.println(b7);

    }



}





